<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改用户名</title>
    <style>
        .input1{
            border: 1px solid transparent;
            color: transparent;
            outline: 0;
        }
    </style>
</head>
<body>
<div align="center">
    <form action="${pageContext.request.contextPath}/user.do" method="get">
        <label>
            <input type="text" name="method" class="input1" value="1">
        </label>
        请输入你要修改的新用户名：<label>
        <input type="text" name="newUsername">
    </label><br>
        <input type="submit" ><br>
        <a href="Modify.jsp">返回</a>
    </form>
    <%if (request.getSession().getAttribute("ModifyUserNameLose") != null) {%>
    <%=request.getSession().getAttribute("ModifyUserNameLose")%>
    <%request.getSession().removeAttribute("ModifyUserNameLose");%>
    <%}%>
</div>
</body>
</html>
